package tree.model;

import java.util.List;

/**
 * Created by admin on 2019/1/25.
 */
public interface IModelTree<M, Id> extends IModel<Id> {
    Id getParentId();

    void setParentId(Id var1);

    M getParent();

    void setParent(M var1);

    String getName();

    void setName(String var1);

    List<M> getChildren();

    void setChildren(List<M> var1);
}
